class Dot:
    '''dot
    '''
    types = ['svg', 'png']
    algorithms = ['dot', 'neato', 'lefty']

    def __init__(self):
        self.type = self.types[0]
        self.algorithm = self.algorithms[0]

    def get_cmd(self, path, target_path):
        cmd = f"{self.algorithm} {path} -T{self.type} -o {target_path}"
        return cmd


dot = Dot()
